/*     */ package com.cr.business.service.impl;
/*     */ 
/*     */ import com.cr.business.domain.CrBondClue;
/*     */ import com.cr.business.dto.CreditorRightsDto;
/*     */ import com.cr.business.mapper.CrBondClueMapper;
/*     */ import com.cr.business.service.ICrBondClueService;
/*     */ import com.cr.common.core.text.Convert;
/*     */ import com.cr.common.utils.MyDateUtils;
/*     */ import java.util.List;
/*     */ import java.util.Map;
/*     */ import org.springframework.beans.factory.annotation.Autowired;
/*     */ import org.springframework.stereotype.Service;
/*     */ 
/*     */ @Service
/*     */ public class CrBondClueServiceImpl implements ICrBondClueService {
/*     */   @Autowired
/*     */   private CrBondClueMapper crBondClueMapper;
/*     */   
/*     */   public CrBondClue selectCrBondClueByClueId(Long clueId) {
/*  36 */     return this.crBondClueMapper.selectCrBondClueByClueId(clueId);
/*     */   }
/*     */   
/*     */   public List<CrBondClue> selectCrBondClueList(CrBondClue crBondClue) {
/*  48 */     return this.crBondClueMapper.selectCrBondClueList(crBondClue);
/*     */   }
/*     */   
/*     */   public int insertCrBondClue(CrBondClue crBondClue) {
/*  60 */     crBondClue.setCreateTime(MyDateUtils.getNowDate());
/*  61 */     return this.crBondClueMapper.insertCrBondClue(crBondClue);
/*     */   }
/*     */   
/*     */   public int updateCrBondClue(CrBondClue crBondClue) {
/*  73 */     crBondClue.setUpdateTime(MyDateUtils.getNowDate());
/*  74 */     return this.crBondClueMapper.updateCrBondClue(crBondClue);
/*     */   }
/*     */   
/*     */   public int deleteCrBondClueByClueIds(String clueIds) {
/*  86 */     return this.crBondClueMapper.deleteCrBondClueByClueIds(Convert.toStrArray(clueIds));
/*     */   }
/*     */   
/*     */   public int deleteCrBondClueByClueId(Long clueId) {
/*  98 */     return this.crBondClueMapper.deleteCrBondClueByClueId(clueId);
/*     */   }
/*     */   
/*     */   public List<CreditorRightsDto> selectList(Map<String, Object> paramMap) {
/* 110 */     return this.crBondClueMapper.selectList(paramMap);
/*     */   }
/*     */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrBondClueServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */